package org.yoki.edu.bg.radius.filter.app.receiver;

import org.yoki.edu.bg.radius.filter.app.transit.SynPacketTransit;

/**
 * @author Sky$
 * @Description: TODO
 * @date 2018/1/3$ 14:08$
 */
public class CheckRadiusPacketReceiver extends ForwardRadiusPacketReceiver {

    /**
     * 认证端口
     */
    private static int RADIUS_CHECK_PORT = 1812;

    private static boolean IS_ACCT = false;

    public CheckRadiusPacketReceiver() {
    }

    public CheckRadiusPacketReceiver(SynPacketTransit observable) {
        super(observable);
    }

    @Override
    public int getListenerPort() {
        return RADIUS_CHECK_PORT;
    }

    @Override
    public int getRadiusPort(){
        return RADIUS_CHECK_PORT;
    }

    @Override
    public boolean getIsAcct() {
        return IS_ACCT;
    }

}
